package com.xh.echartsviewsystem;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.context.ApplicationContext;

import java.util.Arrays;


/**
 * @author Admins
 */
@SpringBootApplication
@EnableSwagger2Doc
@ConfigurationPropertiesScan
public class EchartsViewSystemApplication {

    public static void main(String[] args) {
        ApplicationContext run = SpringApplication.run(EchartsViewSystemApplication.class, args);
        System.out.println(Arrays.toString(run.getBeanDefinitionNames()));
        System.out.println("getApplicationName = " + run.getApplicationName());

        System.out.println("Environment = " + run.getEnvironment());
        System.out.println("DisplayName = " + run.getDisplayName());
    }

}
